package com.tiny.codegen.template.batis;

import java.util.List;

import com.tiny.codegen.common.Column;

/**
 * 表对象
 * 
 * @author 刘涛
 * @date 2018年7月13日
 */
public class Table {

	/** 表名称 **/
	private String name;
	/** 表注释 **/
	private String annotation;
	/** 表主键 **/
	private String primary_key;
	/** 主键字段名 **/
	private String primary_key_field;
	/** 类名 **/
	private String class_name;

	private List<Column> columns;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAnnotation() {
		return annotation;
	}

	public void setAnnotation(String annotation) {
		this.annotation = annotation;
	}

	public String getPrimary_key() {
		return primary_key;
	}

	public void setPrimary_key(String primary_key) {
		this.primary_key = primary_key;
	}

	public String getPrimary_key_field() {
		return primary_key_field;
	}

	public void setPrimary_key_field(String primary_key_field) {
		this.primary_key_field = primary_key_field;
	}

	public String getClass_name() {
		return class_name;
	}

	public void setClass_name(String class_name) {
		this.class_name = class_name;
	}

	public List<Column> getColumns() {
		return columns;
	}

	public void setColumns(List<Column> columns) {
		this.columns = columns;
	}

}
